
function convertAlias() {
 
  var scs_name = jQuery('#sc-software-add #scs_name').val().trim().toLowerCase();
  var str = "Mr Blue has a blue house and a blue car";
  var n = scs_name.replace(/  /gi, "-");
  n = n.replace(/ /gi, "-");
  
  jQuery('#sc-software-add #scs_alias').val(n);
  return false;
}
